<#import "common/macro/home.ftl" as home >
<@home.head title="数据字典">
	<@home.common_list/>
</@home.head>
<@home.body>
	<table width="100%" class="listTable" cellpadding="0" cellspacing="0">
		<thead>
			<tr>
				<th class="td_h">常量编号</th>
				<th class="td_h">名称</th>
				<th class="td_h">备注</th>
				<th class="td_h">修改人</th>
				<th class="td_h">修改时间</th>
				<th class="td_h">字典值</th>
				<th class="td_h">操作</th>
			</tr>
		</thead>
		<tbody>
		<#if pageVO?exists && pageVO.resultList?exists >
			<#list pageVO.resultList as dict>
				<tr>
					<td class="td_r">${dict.dictCode}&nbsp;</td>
					<td class="td_r">${dict.dictName}&nbsp;</td>
					<td class="td_r">${dict.description}&nbsp;</td>
					<td class="td_r">${dict.lcu}&nbsp;</td>
					<td class="td_r">${dict.lcd?date}&nbsp;</td>
					<td class="td_r"><a href="javascript:void(0)" onclick="showDialogOnParent('${basePath}/sysmanage/dev/dict_value_list.shtml?dictId=${dict.dictId}')">字典值</a></td>
					<td class="td_r">
						<#if AUTH_EDIT?? && AUTH_EDIT==1>
							<span title="编辑" class="img_edit hand" onclick="showDialogOnParent('${basePath}/sysmanage/dev/jump_dict_edit_page.shtml?dictId=${dict.dictId}','编辑数据字典')"></span>
						</#if>
						<#if AUTH_DEL?? && AUTH_DEL==1>
							<span title="删除" class="img_delete hand" onclick="deleteObj('dict_del.shtml','${dict.dictId}','');"></span>
						</#if>
					</td>
				</tr>
			</#list>
		<#else>
			<tr>
				<td class="td_noresult" colspan="8">暂无相关数据!</td>
			</tr>
		</#if>
		</tbody>
	</table>
	<#if pageVO?exists && pageVO.resultList?exists>
		<script>
			$(this).pagination({
				'rowCount':${pageVO.rowCount},
				'pageNum':${pageVO.pageNum},
				'pageNo':${pageVO.pageNo},
				'showPageNum':${pageVO.pageSize}
			});
		</script>
	</#if>
</@home.body>
